package com.guchenghao.service;

import com.guchenghao.dto.UserDto;
import com.guchenghao.entity.User;
import jakarta.servlet.http.HttpSession;

/**
 * @User 20675
 * @Author gch
 * @Date 2025/4/1 14:45
 * @Description <br />
 * <p>
 * <br />
 */
public interface UserService {
    // 登录
    Boolean login(User user, HttpSession session);

    // 验证登录状态，获取登录用户信息
    UserDto checkLogin(HttpSession session);

    // 注册用户
    Boolean register(User user);
}
